import React from 'react';
import ReactDOM from 'react-dom/client';
import App from "./App";
import { Provider } from "react-redux";
import { PersistGate } from "redux-persist/integration/react";
import { store,persistor} from "@/redux";
import { HashRouter } from 'react-router-dom';
const root = ReactDOM.createRoot(
  document.getElementById('root') as HTMLElement
);
root.render(
  <Provider store={store}>
    	<PersistGate persistor={persistor}>
    <HashRouter>
    <App />
    </HashRouter>
    </PersistGate>

  </Provider>,
);

